/*

package com.daxt;

import com.daxt.mapper.sys.ArchivesTypeMapper;
import com.daxt.model.service.archives.result.ArchivesTree;
import com.daxt.model.service.archives.vo.ArchivesType;
import com.daxt.service.ArchivesService;
import com.daxt.service.FondsListService;
import com.daxt.utils.file.FileBaseUtil;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.ArrayList;
import java.util.List;


@SpringBootTest(classes = DaxtApplication.class)
public class ZipFileText {

    @Autowired
    ArchivesService archivesService;
    @Autowired
    ArchivesTypeMapper archivesTypeMapper;
    @Autowired
    private FondsListService fondsListService;

    @Test
    public void zipText(){
        List<String> ids=new ArrayList<>();
        ids.add("15636");
        ArchivesType at=archivesTypeMapper.selectById("7");
        archivesService.automationDossierItemNumNum(at,"dossier","46","18",ids);
    }

    @Test
    public void text(){
        List<ArchivesTree> tree = fondsListService.getFondsTreeUpgrade("20",null);
        System.out.println(tree);
    }

    @Test
    public void text2(){
        List<String> fileName=new ArrayList<>();
        fileName.add("张三2");
        fileName.add("李四");
        fileName.add("王五");

        boolean isContain = fileName.contains("张三");
        if(isContain){
            fileName.add("张三3");
        }

        for (int i=0;i<fileName.size();i++){
            System.out.println(fileName.get(i));
        }

        String fileName2="123123..doc";
        String s= FileBaseUtil.getFileNameFront(fileName2);
        System.out.println(s);

    }

}


*/
